package com.xxgc.cloud.springcloudproviderusers.service;

import com.xxgc.cloud.api.IUserInfoService;
import com.xxgc.cloud.api.bean.Users;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * 获取用户个人信息
 */
@DubboService(interfaceClass = IUserInfoService.class,version = "1.0.0")
public class UsersInfoServiceImpl implements IUserInfoService {

    @Override
    public Users getUserInfoById(Integer id) {
        Users users = new Users();
        users.setId(1L);
        return users;
    }
}
